package com.common.retrofit.entity.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/8.
 */

public class SortDetailsBean {

    /**
     * list : [{"id":4,"name":"核桃","img":"http://chujiale.oss-cn-beijing.aliyuncs.com/Admin/Picture/2017-10-27/b2afcc124b98c784da9ae1f65e99d105.jpg","s_name":"山核桃","s_prince":"￥Array-￥365.00","is_num":1,"specifications":[{"id":4,"name":"山核桃","prince":150,"num":1525,"is_num":1},{"id":3,"name":"薄皮核桃","prince":365,"num":0,"is_num":0}]}]
     * total : 2
     * remainder : 2
     * page : 0
     */

    public int total;
    public int remainder;
    public int page;
    public List<ListBean> list;

    public static class ListBean {
        /**
         * id : 4
         * name : 核桃
         * img : http://chujiale.oss-cn-beijing.aliyuncs.com/Admin/Picture/2017-10-27/b2afcc124b98c784da9ae1f65e99d105.jpg
         * s_name : 山核桃
         * s_prince : ￥Array-￥365.00
         * is_num : 1
         * specifications : [{"id":4,"name":"山核桃","prince":150,"num":1525,"is_num":1},{"id":3,"name":"薄皮核桃","prince":365,"num":0,"is_num":0}]
         */

        public int id;
        public String name;
        public String img;
        public String s_name;
        public String s_prince;
        public int is_num;
        public List<SpecificationsBean> specifications;

        public static class SpecificationsBean {
            /**
             * id : 4
             * name : 山核桃
             * prince : 150
             * num : 1525
             * is_num : 1
             */

            public int id;
            public String name;
            public double prince;
            public int num;
            public int is_num;
        }
    }
}
